<header class="title">
<h1>{{ .Title }}</h1>
{{ with .Params.subtitle }}<h1><span class="subtitle">{{ . }}</span></h1>{{ end }}
<div class="meta">
<span class="author">{{ with .Params.author }}{{ . }}{{ end }}</span>
<span>{{ if .Params.date }} {{ if .Params.author }} | {{ end }} {{ .Date.Format "2006-01-02" }}{{ end }}</span>
<span>
{{ $baseUrl := .Site.BaseURL }}
{{ if isset .Params "tags" }}
&nbsp;|&nbsp;
<span>
{{ $count := len .Params.tags }}
{{ if gt $count 0 }}
  {{ range $k, $v := .Params.tags }}
    <a href="{{ $baseUrl }}tags/{{ . | urlize }}">{{ . }}</a>{{ if lt $k (sub $count 1) }}&nbsp;&#47;{{ end }}
  {{ end }}
{{ end }}
</span>
{{ end }}

</div>
</header>
<hr>